#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Text1()
{
    //通过定义对象，来完成调用
    std::vector<int> v = {1,2,3,4,5,6};
    int ret = Solution().Max(v);
    if (ret == 6)
    {
        std::cout << "通过测试用例1,.....OK" <<std::endl;
    }
    else
    {
        std::cout << "测试用例1未通过" <<std::endl;
    }
}

void Text2()
{
    std::vector<int> v = {-1,-2,-3,-4,-5,-6};
    int ret = Solution().Max(v);
    if (ret == -1)
    {
        std::cout << "通过测试用例2,.....OK" <<std::endl;
    }
    else
    {
        std::cout << "测试用例2未通过" <<std::endl;
    }
}

int main()
{
    Text1();
    Text2();
    return 0;
}